.autocomplete {
    .box {
        position: absolute;
        top: 2.5em;
        padding: 0.5em 0;
        z-index: 10;
        white-space: nowrap;
        width: 100%;
        transition: opacity $speed $easing;
        .option {
            @include unselectable;
            padding: 0.25rem 0.75rem;
            cursor: pointer;
            &:not(.is-disabled):hover,
            &.is-hovered {
                background: $background;
            }
            &.is-disabled {
                opacity: 0.5;
                cursor: not-allowed;
            }
        }
        &.is-opened-top {
            top: auto;
            bottom: 2.5em;
        }
    }
    &.is-small {
        @include control-small;
    }
    &.is-medium{
        @include control-medium;
    }
    &.is-large {
        @include control-large;
    }
}
